package com.aji.alluser.service;



import com.aji.alluser.domain.User;
import com.aji.alluser.domain.dto.LoginDto;
import com.aji.alluser.domain.vo.UserInfo;

import java.util.List;

public interface LoginService {
    User login(LoginDto loginDto);

    List<String> getRoleById(Long id);

    User getByUserId(Long principal);

    List<String> selectPermsByUserId(Long id);
    
    UserInfo userInfo(String token);
}
